package cylinderandcircle6_2;

public class TestCircle {
	public static void main(String[] args) {
		Cylinder cylinder = new Cylinder();
		Circle base = new Circle(1.0, "red");
		cylinder.setBase(base);
		
		System.out.println(cylinder);
		System.out.println(cylinder.getVolume());
	}
}
